<template>
  <div class="test">
    <Count></Count>
    <Count :count="count"></Count>
    <zz-button @click="add"></zz-button>
  </div>
</template>
<script>
import Count from './Count.vue'
import Button from './Button.vue'
export default {
  data() {
    return {
      count: 100
    }
  },
  components: {
    Count,
    'zz-button': Button
  },
  methods: {
    add() {
      this.count += 2
    }
  }
}
</script>
<style lang="scss"></style>
